
package com.daka.dao1;

import com.daka.entity.MemberMoneyRecord;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "memberMoneyRecordDao")
@SQLMapper
public interface MemberMoneyRecordDao {
    int deleteByPrimaryKey(Integer id);

    int insert(MemberMoneyRecord record);

    int insertSelective(MemberMoneyRecord record);

    MemberMoneyRecord selectByPrimaryKey(Integer id);

    List<MemberMoneyRecord> selectAll();

    List<MemberMoneyRecord> selectByIdBetween(@Param("max") Integer max, @Param("min") Integer min);

    List<MemberMoneyRecord> selectByStatement(MemberMoneyRecord record);

    int selectByStatementCount(MemberMoneyRecord record);

    int updateByPrimaryKeySelective(MemberMoneyRecord record);
}